<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!--
Copyright 2013 Google Inc. All Rights Reserved.

Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at

    http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
-->
<html>
  <head>
    <title>ReportLatency Options</title>
  </head>

  <body>
    <h1>ReportLatency Options</h1>

    <p>
      Disable or remove extensions using the far right pulldown menu,
      Tools/Extensions, or right click <a
      href="chrome://extensions">chrome://extensions</a> if allowed.
    </p>

    <form>
      <button type="button" id="save">Save<div id="status"></div></button>
      
      <p>
    Report to: <i id="default_report_to"></i>
      <br>
      <input type="url" id="report_to" name="report_to" size="80">
    <br>

      This is where the services and their latencies are sent.  See
      the following options to determine how detailed the services are
      broken down.  localhost sends them only to your local machine,
      which would have to run it's own web service to capture them.

      <p>

	default_as_org
	<input type="checkbox" id="default_as_org" name="default_as_org"
	  value="false">
	<br>

	URLs are reduced to a service name to prevent security issues.
	The default service name '.' reflects the speed of the
	Internet as a whole, but by enabling <i>default_as_org</i>,
	the organization's domain name will be used if no other
	enabled rule is matched.  Examples: <tt>company.com</tt>,
	<tt>ci.city.st.us</tt>.  Only enable this if you're
	comfortable reporting the organization's domain names.

      <p>


      <div id="service_groups">
      </div>

    Log to Javascript console <br>
    <input type="checkbox" id="log_navigations" name="log_navigations" value="true">
      Navigations<br>
    <input type="checkbox" id="log_requests" name="log_requests" value="true">
      Requests<br>
    <input type="checkbox" id="log_posts" name="log_posts" value="true">
      Posts to the collection service<p>


    Debug Mode <br>
    <input type="checkbox" id="debug_navigations" name="debug_navigations" value="true">
	Log full callback and objects related to navigation events.
      <br>
    <input type="checkbox" id="debug_requests" name="debug_requests" value="true">
	Log full callback and objects related to request events.
	There are many of these events and the browser will be impacted.
      <br>
    <input type="checkbox" id="debug_tabs" name="debug_tabs" value="true">
	Log full callback and objects related to tab events.
      <br>
    <input type="checkbox" id="debug_posts" name="debug_posts" value="true">
	Log calls and full objects related to stats posts back to collection service.
      <br>
    <input type="checkbox" id="debug_extension" name="debug_extension" value="true">
	Log extension related events and parameters.
      <p>

	<i>Logs are sent to the extensions Javascript console (background page).</i> <p>

    
    <button type="button" id="save2">Save<div id="status2"></div></button>

    </form>

  <script src="options.js"></script>

  </body>
</html>
